﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UClientDisplay.ascx.cs"
    Inherits="PayRoller.Include.UClientDisplay" %>
<table width="350" border="0" cellpadding="1" cellspacing="1" bgcolor="#000000" align="center">
    <tr bgcolor="#ffffff" id="trClientName" runat="server">
        <td height="24" align="left">
            Name of client:<asp:Label ID="labClientName" runat="server" />
        </td>
    </tr>
    <tr bgcolor="#ffffff" runat="server" id="trOurReference">
        <td height="24" align="left">
            Our reference:<asp:Label ID="labOurReference" runat="server" />
        </td>
    </tr>
    <tr bgcolor="#ffffff" id="trCreditLimit" runat="server">
        <td height="24" align="left">
            Credit limit:<asp:Label ID="labCreditLimit" runat="server" />
        </td>
    </tr>
    <tr bgcolor="#ffffff" id="trCreditBalance" runat="server">
        <td height="24" align="left">
            Credit balance:<asp:Label ID="labCreditBalance" runat="server" />
        </td>
    </tr>
    <tr bgcolor="#ffffff" id="trAvailableCredit" runat="server">
        <td height="24" align="left">
            Available credit balance:<asp:Label ID="labAvailableCredit" runat="server" />
        </td>
    </tr>
    <tr bgcolor="#ffffff" id="trEmployee" runat="server">
        <td height="24" align="left" valign="top">
            <asp:DataList ID="dlEmployee" runat="server" Width="100%" CellPadding="1" CellSpacing="1"
                BorderWidth="0" onitemcreated="dlEmployee_ItemCreated">
                <HeaderTemplate>
                    <tr>
                        <td runat="server" id="thEmployeeID" height="23" bgcolor="#cccccc">
                            Employee ID
                        </td>
                        <td runat="server" id="thEmployeeName" bgcolor="#cccccc">
                            Employee name
                        </td>
                    </tr>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td runat="server" id="tdEmployeeID">
                            <%# DataBinder.Eval(Container.DataItem, "[\"OrgEmpSid\"]")%>
                        </td>
                        <td  runat="server" id="tdEmployeeName">
                            <%# DataBinder.Eval(Container.DataItem, "[\"EmpName\"]")%>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:DataList>
        </td>
    </tr>
</table>
